package com.seek.model.entity;

import java.util.Date;

@SuppressWarnings("serial")
public class Entity implements java.io.Serializable {

	// Fields
	protected Long id;
	protected String remark;
	protected Long createUserId;
	protected Date createTime;
	protected Long modifyUserId;
	protected Date modifyTime;
	protected Integer isUsed;

	// Constructors

	/** default constructor */
	public Entity() {
	}

	/** full constructor */
	public Entity(String remark, Long createUserId,
			Date createTime, Long modifyUserId, Date modifyTime,
			Integer isUsed, String rootCode) {
		this.remark = remark;
		this.createUserId = createUserId;
		this.createTime = createTime;
		this.modifyUserId = modifyUserId;
		this.modifyTime = modifyTime;
		this.isUsed = isUsed;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getCreateUserId() {
		return this.createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getModifyUserId() {
		return this.modifyUserId;
	}

	public void setModifyUserId(Long modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

	public Date getModifyTime() {
		return this.modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Integer getIsUsed() {
		if (this.isUsed == null)
			this.isUsed = 1;
		return this.isUsed;
	}

	public void setIsUsed(Integer isUsed) {
		this.isUsed = isUsed;
	}
}